package com.bz.service;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.bz.common.PageInfo;
import com.bz.entity.PreojectAreaEntity;
import com.bz.entity.PreojectEntity;

public interface IPreojectService {

    /**
     * 获取所有的地区
     * 
     * @param query
     * @return
     */
    public List<PreojectAreaEntity> getArea(LambdaQueryWrapper<PreojectAreaEntity> query);

    /**
     * 
     * 
     * @param parMap
     * @return
     */
    public PageInfo<PreojectEntity> list(PageInfo page, LambdaQueryWrapper<PreojectEntity> query);

    /**
     * 添加
     * 
     * @param data
     */
    public void add(PreojectEntity data);

    /**
     * 修改
     * 
     * @param data
     */
    public void update(PreojectEntity data);

    /**
     * 删除
     * 
     * @param data
     */
    public void delete(Long id);

}
